import Mock from "mockjs"

Mock.mock("/api/list",{
    code:200,
    "data|6":[{
        "id":"@id",
        name:"@cword(4)",
        img:"@image(30x30,@color)"
    }]
})